<template>
  <div class="home">
    <h3>isReadonly使用</h3>
    <div>数据是否只读的：{{ isRead }}</div>
  </div>
</template>

<script setup>
const original = reactive({ count: 0 })

const copy = readonly(original)

const isRead = computed(() => {
  return isReadonly(copy)
})
</script>

<style lang="scss" scoped>
.home{
  display: flex;
  // justify-content: center;
  flex-direction: column;
  align-items: center;
}
.from{
  width: 20%;
}
</style>